package com.inplaceedit.client.application;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.AcceptsOneWidget;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.SimplePanel;
import com.google.gwt.user.client.ui.Widget;

public class ApplicationShell extends Composite {

	interface Binder extends UiBinder<Widget, ApplicationShell> {
	}

	private static Binder uiBinder = GWT.create(Binder.class);

	@UiField
	SimplePanel menuPanel;
	@UiField
	SimplePanel mainPanel;

	public ApplicationShell() {
		initWidget(uiBinder.createAndBindUi(this));
	}

	public AcceptsOneWidget getMainPanel() {
		return mainPanel;
	}

	public AcceptsOneWidget getMenuPanel() {
		return menuPanel;
	}
}
